package com.ctl.jvm;

import java.util.LinkedHashMap;
import java.util.List;
import java.util.PriorityQueue;

public class RandomAccessFileTest {
    public static void main(String[] args) {
//        tb1.setA(new Integer(2).byteValue());
        String s = "a" + "b" + "c" + "d";
        System.out.println(s == "abcd");

        LinkedHashMap<String, String> linkedHashMap = new LinkedHashMap();
        linkedHashMap = new LinkedHashMap();
        linkedHashMap.put("1", "a");
        linkedHashMap.put("3", "c");
        linkedHashMap.put("2", "b");
        System.out.println(linkedHashMap.values());
        System.out.println(linkedHashMap.keySet());
        System.out.println(linkedHashMap.getOrDefault("4", "4"));


        PriorityQueue<Integer> priorityQueue = new PriorityQueue();
        for (int i = 0; i < 100; i++) {
            priorityQueue.add(i);
        }
        System.out.println(priorityQueue);
    }

    public void get(int a) {
    }

    public void get(float b) {
    }

    public void get(List<Integer> b) {
    }
//    public void get(List<String> b){}

}
